Q3ViewerSetPort
You can use theQ3ViewerSetPort
function to set the color graphics port associated with a viewer object.
OSErr Q3ViewerSetPort (TQ3ViewerObject theViewer, CGrafPtr port);
theViewer
- A viewer object.
port
- A pointer to a color graphics port that specifies the window with which the specified viewer is to be associated.
DESCRIPTION
TheQ3ViewerSetPort
function sets the color graphics port associated with the viewer object specified by thetheViewer
parameter to the port specified by theport
parameter.